package com.springboot.study.listener;

import org.springframework.context.ApplicationEvent;

/**
 * @Author: guodong
 * @Date: 2021/5/13 10:25
 * @Version: 1.0
 * @Description:
 */
public class MyTestEvent extends ApplicationEvent {

    private static final long serialVersionUID = 1L;

    private String msg ;

    public MyTestEvent(Object source,String msg) {
        super(source);
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
